package com.audition.thread.day02.code;

/**
 * @author xukang
 * @date 2021-03-10 14:00
 */

public class SynTest {
    public void synBlock() {
        synchronized (this) {
            System.out.println("lagou");
        }
    }

    public synchronized void synTest() {

    }
}

